{{ content() }}
<div id="main1">
    <div class="upload_wrapper">
        <div class="top_title">
            Upload Tài Liệu
        </div>
        <div class="upload_content">
            <div class="upload_left">
                <div class="demo">     
                    <p>File cho phep upload : <span style="color:red">file anh , file microsoft office va pdf</span></p>
                    <!-- do not need enctype="multipart/form-data" -->
                    {{form('id':'form1')}}
                    <br>
                    <table>
                        <tbody>
                            <tr>
                                <td>Loại tài liệu:</td>
                                <td>{{form.render('doctype')}}</td>
                            </tr>
                            <tr>
                                <td>Chủ đề:</td>
                                <td id="showmacon">{{form.render('topic')}}</td>
                            <tr>
                                <td>Tên Tài Liệu:</td>
                                <td><input type="text" name="tentailieu" id="tentailieu"></td>
                            </tr>
                            <tr>
                                <td>Ảnh minh họa:</td>
                                <td><button id="myuploaderButton">Chọn file ảnh (Max 10M)</button><input type="hidden" id="myuploader" name="myuploader" autocomplete="off" isuploaderfield="1" value=""></td>
                            </tr> 
                            <tr>
                                <td>Tài liệu:</td>
                                <td><button id="myuploader1Button" onclick="return false;">Chọn files tài liệu (Max 20M)</button><input type="hidden" id="myuploader1" name="myuploader1" autocomplete="off" isuploaderfield="1" value=""></td>
                            </tr> 
                            <tr>
                                <td>Mô tả:</td>
                                <td><textarea name="mota" id="mota" style="width:500px; height:150px; resize:none;"></textarea></td>
                            </tr>
                        </tbody>
                    </table>
                    <br>
                    <button id="submitbutton"><img src="{{url('public/img/upload-hi.png')}}"></button>
                    {{ endform() }}

                </div>

            </div>
            <div class="upload_right right">
                <div class="boxp02">
                    <div class="top">Hướng dẫn Upload</div>
                    <div class="mid">{{upload_guides}}</div>
                </div>
                <div class="boxp02">
                    <div class="top">Quy Định Upload</div>
                    <div class="mid">{{upload_rules}}</div>
                </div>
            </div>
        </div>
    </div>
</div>
{{javascript_include('js/upload.js')}}